package com.raycloud.java.dada.model;

import com.raycloud.java.dada.annotation.ParamValue;
import lombok.Data;

/**
 * Created by:  intelliJ IDEA
 *
 * @Author albert
 * @Description:门店创建参数
 * @Date:2017/6/19 下午7:29
 * @package:com.test.java.dada.model
 * @Modified By:
 */
@Data
public class CreateShop {
    //门店名称
    @ParamValue(filedName = "station_name",isNotNull = true)
    private String stationName;
    //业务类型
    @ParamValue(filedName = "business",isNotNull = true)
    private Integer business;
    //city_name
    @ParamValue(filedName = "city_name",isNotNull = true)
    private String cityName;
    @ParamValue(filedName = "area_name",isNotNull = true)
    //区域名称(如,浦东新区)
    private String areaName;
    //门店地址
    @ParamValue(filedName = "station_address",isNotNull = true)
    private String stationAddress;
    //门店经度
    @ParamValue(filedName = "lng",isNotNull = true)
    private Double lng;
    //门店纬度
    @ParamValue(filedName = "lat",isNotNull = true)
    private Double lat;
    //联系人姓名
    @ParamValue(filedName = "contact_name",isNotNull = true)
    private String contactName;
    //联系人电话
    @ParamValue(filedName = "phone",isNotNull = true)
    private String phone;
    //门店编码,可自定义,但必须唯一;若不填写,则系统自动生成
    @ParamValue(filedName = "origin_shop_id")
    private String originShopId;
    //联系人身份证
    @ParamValue(filedName = "id_card")
    private String idCard;
    //达达商家app账号(若不需要登陆app,则不用设置)
    @ParamValue(filedName = "username")
    private String username;
    //达达商家app密码(若不需要登陆app,则不用设置)
    @ParamValue(filedName = "password")
    private String password;

}
